Class Keyring

java.lang.Object
com.netscape.cmsutil.util.Keyring

public class Keyring extends Object
  • Field Details

    • logger

      public static final org.slf4j.Logger logger
  • Constructor Details

    • Keyring

      public Keyring()
  • Method Details

    • getKeyID

      public static long getKeyID(String keyName)
      Get Key ID from keyname
      Parameters:
      keyName - Name of the key
      Returns:
      Key ID
    • getPassword

      public static String getPassword(String keyName, String output_format) throws IllegalArgumentException
      Get password from keyring
      Parameters:
      keyName - Name of the key
      output_format - Output format
      Returns:
      Value of the key available in keyring
      Throws:
      IllegalArgumentException